]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
cleanup: Fix style nits in last commit
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 8 Jul 2019 18:14:35 +0000 (20:14 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 8 Jul 2019 18:15:15 +0000 (20:15 +0200)
Missing space after catch and wrong double quotes.

js/ui/endSessionDialog.js

index f4950ba8472eb5f3cd96f7ee8065ef681fb0925b..ead7eae782637bea7ef195cf00b069c21695cee8 100644 (file)
@@ -353,8 +353,8 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
         // It only makes sense to check for this permission if PackageKit is available.
         try {
             this._updatesPermission = Polkit.Permission.new_sync(
-                "org.freedesktop.packagekit.trigger-offline-update", null, null);
-        } catch(e) {
+                'org.freedesktop.packagekit.trigger-offline-update', null, null);
+        } catch (e) {
             log('No permission to trigger offline updates: %s'.format(e.toString()));
         }
     }